//
//  UITableViewCell+Add.m
//  fTalk
//
//  Created by wangfangshuai on 13-10-19.
//
//

#import "UITableViewCell+Add.h"

@implementation UITableViewCell (Add)

- (void)dealloc
{
    for (int i = [self.contentView.subviews count]-1; i >= 0; i--) {
        UIView *sView = [self.contentView.subviews objectAtIndex:i];
        [sView removeFromSuperview];
    }
    for (int i = [self.subviews count]-1; i >= 0; i--) {
        UIView *sView = [self.subviews objectAtIndex:i];
        [sView removeFromSuperview];
    }
    
}

+ (CGFloat)getCellHeight
{
    return 44;
}

- (void)setNoneStyle
{
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (CGFloat)getCellHeight
{
    return 44;
}
@end
